import 'package:automated_test/common/db_helper.dart';

class Gates {
  final String mac;

  Gates(this.mac);

  void insert() {
    DbHelper.insertGate(mac);
  }

  Future<List<String>?> queryGates() async {
    var list = await DbHelper.queryGates();
    return list;
  }
}
